﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200060F RID: 1551
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GAMNEPOEGHM : IMessage<GAMNEPOEGHM>, IMessage, IEquatable<GAMNEPOEGHM>, IDeepCloneable<GAMNEPOEGHM>, IBufferMessage
	{
		// Token: 0x170013EC RID: 5100
		// (get) Token: 0x060045C8 RID: 17864 RVA: 0x000BEF7B File Offset: 0x000BD17B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GAMNEPOEGHM> Parser
		{
			get
			{
				return GAMNEPOEGHM._parser;
			}
		}

		// Token: 0x170013ED RID: 5101
		// (get) Token: 0x060045C9 RID: 17865 RVA: 0x000BEF82 File Offset: 0x000BD182
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GAMNEPOEGHMReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170013EE RID: 5102
		// (get) Token: 0x060045CA RID: 17866 RVA: 0x000BEF94 File Offset: 0x000BD194
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GAMNEPOEGHM.Descriptor;
			}
		}

		// Token: 0x060045CB RID: 17867 RVA: 0x000BEF9B File Offset: 0x000BD19B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GAMNEPOEGHM()
		{
		}

		// Token: 0x060045CC RID: 17868 RVA: 0x000BEFA4 File Offset: 0x000BD1A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GAMNEPOEGHM(GAMNEPOEGHM other) : this()
		{
			this.fJDPNJPGKNE_ = ((other.fJDPNJPGKNE_ != null) ? other.fJDPNJPGKNE_.Clone() : null);
			this.worldLevel_ = other.worldLevel_;
			this.lineup_ = ((other.lineup_ != null) ? other.lineup_.Clone() : null);
			this.raidId_ = other.raidId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060045CD RID: 17869 RVA: 0x000BF018 File Offset: 0x000BD218
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GAMNEPOEGHM Clone()
		{
			return new GAMNEPOEGHM(this);
		}

		// Token: 0x170013EF RID: 5103
		// (get) Token: 0x060045CE RID: 17870 RVA: 0x000BF020 File Offset: 0x000BD220
		// (set) Token: 0x060045CF RID: 17871 RVA: 0x000BF028 File Offset: 0x000BD228
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SceneInfo FJDPNJPGKNE
		{
			get
			{
				return this.fJDPNJPGKNE_;
			}
			set
			{
				this.fJDPNJPGKNE_ = value;
			}
		}

		// Token: 0x170013F0 RID: 5104
		// (get) Token: 0x060045D0 RID: 17872 RVA: 0x000BF031 File Offset: 0x000BD231
		// (set) Token: 0x060045D1 RID: 17873 RVA: 0x000BF039 File Offset: 0x000BD239
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint WorldLevel
		{
			get
			{
				return this.worldLevel_;
			}
			set
			{
				this.worldLevel_ = value;
			}
		}

		// Token: 0x170013F1 RID: 5105
		// (get) Token: 0x060045D2 RID: 17874 RVA: 0x000BF042 File Offset: 0x000BD242
		// (set) Token: 0x060045D3 RID: 17875 RVA: 0x000BF04A File Offset: 0x000BD24A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LineupInfo Lineup
		{
			get
			{
				return this.lineup_;
			}
			set
			{
				this.lineup_ = value;
			}
		}

		// Token: 0x170013F2 RID: 5106
		// (get) Token: 0x060045D4 RID: 17876 RVA: 0x000BF053 File Offset: 0x000BD253
		// (set) Token: 0x060045D5 RID: 17877 RVA: 0x000BF05B File Offset: 0x000BD25B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint RaidId
		{
			get
			{
				return this.raidId_;
			}
			set
			{
				this.raidId_ = value;
			}
		}

		// Token: 0x060045D6 RID: 17878 RVA: 0x000BF064 File Offset: 0x000BD264
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GAMNEPOEGHM);
		}

		// Token: 0x060045D7 RID: 17879 RVA: 0x000BF074 File Offset: 0x000BD274
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GAMNEPOEGHM other)
		{
			return other != null && (other == this || (object.Equals(this.FJDPNJPGKNE, other.FJDPNJPGKNE) && this.WorldLevel == other.WorldLevel && object.Equals(this.Lineup, other.Lineup) && this.RaidId == other.RaidId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060045D8 RID: 17880 RVA: 0x000BF0E8 File Offset: 0x000BD2E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.fJDPNJPGKNE_ != null)
			{
				num ^= this.FJDPNJPGKNE.GetHashCode();
			}
			if (this.WorldLevel != 0U)
			{
				num ^= this.WorldLevel.GetHashCode();
			}
			if (this.lineup_ != null)
			{
				num ^= this.Lineup.GetHashCode();
			}
			if (this.RaidId != 0U)
			{
				num ^= this.RaidId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060045D9 RID: 17881 RVA: 0x000BF16C File Offset: 0x000BD36C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060045DA RID: 17882 RVA: 0x000BF174 File Offset: 0x000BD374
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060045DB RID: 17883 RVA: 0x000BF180 File Offset: 0x000BD380
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.fJDPNJPGKNE_ != null)
			{
				output.WriteRawTag(10);
				output.WriteMessage(this.FJDPNJPGKNE);
			}
			if (this.RaidId != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.RaidId);
			}
			if (this.lineup_ != null)
			{
				output.WriteRawTag(82);
				output.WriteMessage(this.Lineup);
			}
			if (this.WorldLevel != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.WorldLevel);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060045DC RID: 17884 RVA: 0x000BF214 File Offset: 0x000BD414
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.fJDPNJPGKNE_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.FJDPNJPGKNE);
			}
			if (this.WorldLevel != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.WorldLevel);
			}
			if (this.lineup_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Lineup);
			}
			if (this.RaidId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.RaidId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060045DD RID: 17885 RVA: 0x000BF29C File Offset: 0x000BD49C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GAMNEPOEGHM other)
		{
			if (other == null)
			{
				return;
			}
			if (other.fJDPNJPGKNE_ != null)
			{
				if (this.fJDPNJPGKNE_ == null)
				{
					this.FJDPNJPGKNE = new SceneInfo();
				}
				this.FJDPNJPGKNE.MergeFrom(other.FJDPNJPGKNE);
			}
			if (other.WorldLevel != 0U)
			{
				this.WorldLevel = other.WorldLevel;
			}
			if (other.lineup_ != null)
			{
				if (this.lineup_ == null)
				{
					this.Lineup = new LineupInfo();
				}
				this.Lineup.MergeFrom(other.Lineup);
			}
			if (other.RaidId != 0U)
			{
				this.RaidId = other.RaidId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060045DE RID: 17886 RVA: 0x000BF344 File Offset: 0x000BD544
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060045DF RID: 17887 RVA: 0x000BF350 File Offset: 0x000BD550
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 16U)
				{
					if (num == 10U)
					{
						if (this.fJDPNJPGKNE_ == null)
						{
							this.FJDPNJPGKNE = new SceneInfo();
						}
						input.ReadMessage(this.FJDPNJPGKNE);
						continue;
					}
					if (num == 16U)
					{
						this.RaidId = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 82U)
					{
						if (this.lineup_ == null)
						{
							this.Lineup = new LineupInfo();
						}
						input.ReadMessage(this.Lineup);
						continue;
					}
					if (num == 96U)
					{
						this.WorldLevel = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04001B83 RID: 7043
		private static readonly MessageParser<GAMNEPOEGHM> _parser = new MessageParser<GAMNEPOEGHM>(() => new GAMNEPOEGHM());

		// Token: 0x04001B84 RID: 7044
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001B85 RID: 7045
		public const int FJDPNJPGKNEFieldNumber = 1;

		// Token: 0x04001B86 RID: 7046
		private SceneInfo fJDPNJPGKNE_;

		// Token: 0x04001B87 RID: 7047
		public const int WorldLevelFieldNumber = 12;

		// Token: 0x04001B88 RID: 7048
		private uint worldLevel_;

		// Token: 0x04001B89 RID: 7049
		public const int LineupFieldNumber = 10;

		// Token: 0x04001B8A RID: 7050
		private LineupInfo lineup_;

		// Token: 0x04001B8B RID: 7051
		public const int RaidIdFieldNumber = 2;

		// Token: 0x04001B8C RID: 7052
		private uint raidId_;
	}
}
